﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ESN.Languages.en
{
    public class Group
    {
        public static string Locale(string key)
        {
            Dictionary<string, string> d = new Dictionary<string, string>();
            d.Add("gid", "Group Id");
            d.Add("gname", "Group Name");
            d.Add("gdescription", "Group Description");
            d.Add("gpermission", "Group Permission");
            d.Add("gpermission_inv", "Invite Only");
            d.Add("gpermission_re", "Accept Request");
            d.Add("gpermission_free", "Free to join");
            d.Add("member_list", "Member List");
            if (d.ContainsKey(key))
                return d[key];
            else
                return null;
        }
    }
}